package cn.com.w.jdk8.demo.pojo;


import cn.com.w.jdk8.demo.abs.FatherObject;

public class ExampleObject extends FatherObject {

    /**
     * 年龄
     */
    public int age = 30;
    /**
     * 名称
     */
    public String name = "jeck";
    /**
     * 成绩
     */
    private Integer score = 60;

    protected String id = "aaa";

    String phoneNum = "187444448398";


    @Override
    public void run() {
        System.out.println("exampleObject - run ......");
    }

    public ExampleObject() {
    }

    public ExampleObject(int age) {
        this.age = age;
    }

    public ExampleObject(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public ExampleObject(int age, String name, Integer score) {
        this.age = age;
        this.name = name;
        this.score = score;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }


}
